import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrMaterialInterruptSummary 分页列表
*/
export function getOrrMaterialInterruptSummaryPagination(data: any) {
    return axios.get(`${context}/orrMaterialInterruptSummary/pagination`, { params: data });
}


/**
* 获取 OrrMaterialInterruptSummary 所有数据
*/
export function getOrrMaterialInterruptSummaryAllList(data: any) {
    return axios.get(`${context}/orrMaterialInterruptSummary/allList`, { params: data });
}


/**
* 获取 OrrMaterialInterruptSummary 详情
*/
export function getOrrMaterialInterruptSummaryDetailById(id: any) {
    return axios.get(`${context}/orrMaterialInterruptSummary/${id}`, { params:{id} });
}


/**
* 新增 OrrMaterialInterruptSummary
*/
export function addOrrMaterialInterruptSummary(data: any) {
    return axios.post(`${context}/orrMaterialInterruptSummary`, data);
}

/**
* 修改 OrrMaterialInterruptSummary
*/
export function updateOrrMaterialInterruptSummary(data: any) {
    return axios.put(`${context}/orrMaterialInterruptSummary`, data);
}

/**
* 删除 OrrMaterialInterruptSummary
*/
export function batchRemoveOrrMaterialInterruptSummary(data: any) {
        return axios.post(`${context}/orrMaterialInterruptSummary/batchRemove`, data);
}
